<#ftl output_format="HTML" >
<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>上传结果 [Sipahi]</title>
    </head>
    <body>
<script>
'use strict';
let fileUrl = '../static${file.path?js_string}';
<#if error??>
console.error('${error?js_string}');
<#else>
console.log('uploaded:', fileUrl);
</#if>
window.parent.callbacks.upload(fileUrl);
</script>
    </body>
</html>
